#include "stm32f10x.h"                  // Device header
#include "Delay.h"
#include "Buzzer.h"
#include "LightSensor.h"

uint8_t Get;

int main()
{
	
	Buzzer_Init();
	LightSensor_Init();
	while(1)
	{
		Get=LightSensor_Get();
		if(Get==1)
		{
			Buzzer_ON();
		}
		else
		{
			Buzzer_OFF();
		}
	}
}

